<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <script>
        sessionStorage.clear();
    </script>
</head>
<body>
<h1>教学管理系统</h1>
<form action="/login" method="post">
    <span style="color:red" th:text="${session.msg}"></span><br>
    <select name="type">
        <option value="student">学生</option>
        <option value="teacher">老师</option>
        <option value="manager">管理员</option>
    </select><br>
    <input type="text" name="username"><br>
    <input type="password" name="password"><br>
    <input type="submit" value="登录">
</form>
</body>
</html>